package com.wt.admin.code.sys;

import com.aizuda.easy.security.exp.IErrorCode;

public enum SysUser1000 implements IErrorCode {
    USER_CODE_1000(1000, "账号或密码不能为空"),
    USER_CODE_1001(1001, "请进行验证"),
    USER_CODE_1002(1002, "验证失效，重新验证"),
    USER_CODE_1003(1003, "账号或密码错误"),
    USER_CODE_1004(1004, "密码不能为空"),
    USER_CODE_1005(1005, "id不能为空"),
    USER_CODE_1006(1006, "账号不能为空"),
    USER_CODE_1007(1007, "名称不能为空"),
    USER_CODE_1008(1008, "邮箱不能为空"),
    USER_CODE_1009(1009, "两次密码不一致"),
    ;


    private Integer code;
    private String msg;

    SysUser1000(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
